package com.three.mapper;

import com.three.entity.StorageVolume;
import com.three.vo.GoodsidAndCountVo;
import com.three.vo.TimeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 曹梦1
* @description 针对表【storage_volume】的数据库操作Mapper
* @createDate 2024-10-28 20:55:33
* @Entity com.three.entity.StorageVolume
*/
public interface StorageVolumeMapper {

    int deleteByPrimaryKey(Long id);

    int insert(StorageVolume record);

    int insertSelective(StorageVolume record);

    StorageVolume selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(StorageVolume record);

    int updateByPrimaryKey(StorageVolume record);

    List<StorageVolume> selectByKey(Integer id);

    List<GoodsidAndCountVo> selectCounts(@Param("id") Integer id, @Param("branchid") Integer branchid);

    List<StorageVolume> selectByBranchid(TimeVo timeVo);

}
